import { Link } from 'umi';
import { Menu } from 'antd';

export default function BasicLayout({ children }) {
  return (
    <div>
      <Menu mode="horizontal" theme="dark">
        <Menu.Item>
          <Link to="/">To Index</Link>
        </Menu.Item>
        {/* <Menu.Item  >
            <Link to="/employee">To Employee</Link>
          </Menu.Item> */}
        <Menu.Item>
          <Link to="/customers">To Employee</Link>
        </Menu.Item>
        <Menu.Item>
          <Link to="/list">To List</Link>
        </Menu.Item>
        <Menu.Item>
          <Link to="/users">Employee 打印</Link>
        </Menu.Item>
      </Menu>

      {children}
    </div>
  );
}
